<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink"
     class="reftest-wait"
     onload="setTimeAndSnapshot(2, true)">
  <script xlink:href="../smil-util.js" type="text/javascript"/>
  <!--
    An invalid cycle. Example 2 From SMIL3 section 5.4.5.
   -->
  <rect width="100" height="100" fill="blue">
    <animate attributeName="y" attributeType="XML" from="0" to="0" id="a"
      begin="c.end" dur="4s"/>
    <animate attributeName="y" attributeType="XML" from="0" to="0" id="b"
      begin="a.begin" dur="3s"/>
    <animate attributeName="fill" attributeType="CSS" id="c"
      values="green; red"
      begin="0" end="b.end"/>
  </rect>
</svg>
